#!/bin/bash
time=$(date "+%Y%m%d%H%M%S")
npm install --registry=https://registry.npm.taobao.org
docker build -t 8.136.189.44:8082/cicd-backend:$time
docker login -u admin -p admin123 8.136.189.44:8082
docker push 8.136.189.44:8082/cicd-backend:$time
